FROM ubuntu:24.04
LABEL authors="wang"
RUN apt update
RUN apt install curl vim procps -y
RUN curl -fsSL https://deb.nodesource.com/setup_20.x |  bash -
RUN apt install nodejs -y
RUN apt install -y make g++
COPY nodelinux /usr/local/bin
RUN npm i -g pm2
RUN apt install pkg-config -y
WORKDIR /build
COPY package.json package.json
COPY package-lock.json package-lock.json
RUN npm i
RUN ls -l /usr/local/bin